id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Variablesabs_value1

prev  |  next  |  chance

Determine the value returned by the function.

def abs_value(num):
    result = abs(num)
    return result
Function Call  Return Value
abs_value(2)
abs_value(-105)
abs_value(-50)
abs_value(3)

Experiment with this code on Gitpod.io

⬅ Back